from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^new_problem/$', 'opendemocracy.legislation.views.new_problem'),
    (r'^new_solution/$', 'opendemocracy.legislation.views.new_solution'),
    (r'^(?P<problem_id>\d+)/$', 'opendemocracy.legislation.views.view_problem'),
    (r'^edit_problem/$', 'opendemocracy.legislation.views.edit_problem'),
    #(r'^problem_text/$', 'opendemocracy.legislation.views.problem_text'),
    (r'^$', 'opendemocracy.legislation.views.all_problems'),
    (r'^subjects/$', 'opendemocracy.legislation.views.subjects'),
)
